package com.xiaoshuidi.cloud.module.member.controller.admin.programarticle.vo;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;


@Data
@Schema(description = "管理后台 - 信息公告或常见问题栏目分页查询参数")
public class ProgramPageVO extends PageParam {
    private static final long serialVersionUID = 1342146446736997792L;
    @Schema(description = "1信息公告2常见问题")
    @NotNull(message = "栏目类型不能为空")
    private Integer programType;

    @Schema(description = "栏目名称")
    private String name;

    @Schema(description = "开始时间")
    private LocalDateTime beginTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;
}
